﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using InventoryPro.BL;

namespace InventryPro.Customers
{
    public partial class Customers : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                CustomerLogic customerBL = new CustomerLogic();
                //gridCustomer.DataSource =  customerBL.GetAllCustomers();
                //gridCustomer.DataBind();
            }
        }

        protected void btnSearch_Click(object sender, EventArgs e)
        {

        }

        protected void btnClear_click(object sender, EventArgs e)
        {

        }

        //protected void gridCustomer_SelectedIndexChanged(object sender, EventArgs e)
        //{
        //    Console.Write("hello");
        //}

       
        protected void gridCustomer_RowEditing1(object sender, GridViewEditEventArgs e)
        {
            
        }


        internal void LoadControl()
        {
            CustomerLogic customerBL = new CustomerLogic();
            //gridCustomer.DataSource = customerBL.GetAllCustomers();
            //gridCustomer.DataBind();
        }
    }
}